package comparators;

import basic.*;
import java.util.Comparator;

public class ReservationComparator implements Comparator<Reservation> {

    @Override
    public int compare(Reservation b1, Reservation b2) {
        return b1.getHireDate().compareTo(b2.getHireDate());

    }

}
